package com.mimose.cosy.proxy.api;

import java.lang.reflect.Method;

/**
 * @author mimose
 * @description the normal common cglib proxy
 * @date 2021/4/24
 */
public class CommonCglibProxy extends CglibProxy {

    @Override
    public CglibProxy newProxy(Object proxyTarget) {
        return this;
    }

    @Override
    public void beforeInvoke(Method method, Object[] args) {
        // nothing
    }

    @Override
    public void afterInvoke(Object result, Method method, Object[] args) {
        // nothing
    }

    @Override
    public void afterThrowing(Throwable throwable, Method method, Object[] args) {
        // nothing
    }
}
